# 对超出体重的小朋友需要提示他们进行锻炼
# weight = [24.52, 28, 21, 20, 19]
weight = input('输入小朋友的体重')
weight = weight.split( )
for k in weight:
    k = float(k)
    if k > 24:
        print(k)